
#ifndef __SETTING_H__
#define __SETTING_H__

#define MAX_STRLEN 60

struct setting_t
{
	int daemon;
	short port;
	char exec[MAX_STRLEN+1];
	char args[MAX_STRLEN+1];
	char conf[MAX_STRLEN+1];
};

extern struct setting_t g_setting; 

void setting_init();
int setting_load(char *file);

#endif // __SETTING_H__

